<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8" />
		<title></title>
	</head>

	<body>
		<button onclick="openAddView()">点击</button>
	</body>
	<script type="text/javascript" src="js/jquery-1.8.3.min.js"></script>
	<script type="text/javascript" src="layer/layer.js"></script>
	<script type="text/javascript">

		function openAddView() {
			//iframe层
			layer.open({
				type: 2,
				title: '很多时候，我们想最大化看，比如像这个页面。',
				shadeClose: true,
				shade: false,
				maxmin: true, //开启最大化最小化按钮
				area: ['893px', '600px'],
				content: 'form.html'
			});
		}
	</script>

</html>